<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script type="text/javascript" src="../require.js"></script>
</head>
<body>
<script type="text/javascript">
require(['person'], function(obj){
    obj.name = 'ls';
    obj.age  = 30;
    obj.sayHi();
})
</script>
</body>
</html>